
//应急调查的信息导入的对话框
var threexxdrDlg = null;

function threexxdrDlgInit(){
	if(threexxdrDlg==null){//如果对话框不存在，那么创建
		threexxdrDlgCreate();
		threexxdrDlg.zindex();
	}else if(itemExistArray(threexxdrDlg,minDlgArray)){//如果对话框存在，且对话框处在最小化的状态
		//调用minbar.js之中的还原方法
		resizeMinDlgFuncBySecondaryfuncDiv(threexxdrDlg);
	}
}	

//创建对话框
function threexxdrDlgCreate(){
	threexxdrDlg =  $.dialog({
		title: '应急信息导入',
		content: 'url:jsp/xxdr/xxdr.jsp',
		dlgDivId: "threexxdrDlgId",
		resize: false,
		max: false,
		left:(document.documentElement.clientWidth-830)/2+"px",
		top:'200px',
		width:'480px',
		height:'200px',
		min:threexxdrDlgMinFunction,
		close:threexxdrDlgCloseFunction,
		
	});
}

//关闭的方法
function threexxdrDlgCloseFunction(){
	threexxdrDlg = null;
}

//最小化的方法
function threexxdrDlgMinFunction(){
	minDlgByAnimate(threexxdrDlg);
}
